package com.hrt.common.systemmanager.systemsetting.dict.type;

import com.btcode.web.core.annotation.RequestMapping;
import com.hrt.common.web.BaseController;
import java.io.IOException;
import java.util.List;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;

@RequestMapping(path = "/systemmanager/systemsetting/dict/type")
public class DictTypeController extends BaseController {

    public DictTypeController() {
        initModelClass(new BcDictTypeModel());
        initServiceClass(DictTypeService.class);
    }

    @RequestMapping(path = "list")
    public void list(ServletRequest arg0, ServletResponse arg1) throws IOException {
        List<BcDictTypeModel> list = getService(DictTypeService.class).getList();
        success(list);
    }
}
